<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>

<include file="Common@Public:header" />
<div id="cont">
<div class="cont">
<include file="Common@Public:left" />
<div class="con_right">
<include file="Common@Public:bt" />
<div class="con_right_nr">


	<div class="system-message">
				<?php if(isset($message)) {?>
				<i class="am-icon am-icon-check am-text-primary"></i>
				<?php }else{?>
				<i class="am-icon am-icon-close am-text-danger"></i>
				<?php }?>
				<div class="system-message-info">
					<?php if(isset($message)) {?><p class="success"><?php echo($message); ?></p><?php }?>
					<?php if(isset($error)) {?><p class="error"><?php echo($error); ?></p><?php }?>
					<p class="detail"></p>
					<p class="jump">
					页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b>
					</p>
				</div>
			</div>

</div>

</div>



</div>
<div class="footer" style="background:url(__PUBLIC__/home/images/00.jpg) top left repeat-x #ffffff;">
<include file="Common@Public:footer"/>
</div>
</body></html>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
